package org.jeecg.modules.golf.question.event;

import lombok.Getter;
import org.jeecg.modules.golf.question.entity.Question;
import org.springframework.context.ApplicationEvent;



/**
 * @author jiguansheng
 * @date 2021/1/24
 * 问题状态变更事件
 **/
@Getter
public class QuestionStatusEvent extends ApplicationEvent {


    private Question question;

    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public QuestionStatusEvent(Object source, Question question) {
        super(source);
        this.question = question;
    }
}
